package mylab.io.base.fsm;

import lombok.extern.slf4j.Slf4j;
import mylab.base.foundation.lang.Callback;


@Slf4j
public abstract class AbstractState implements DasState {

    @Override
    public void execute(FsmContext context, DasAction action, Callback<Void> callback) {
        if (!getSupportedActions().contains(action)) {
            log.warn("当前状态:{}，不支持的行为:{}", getStatus(), action);
        }
    }
}
